import assert from 'assert-plus';

class InformType {
	constructor (title, users, replyOpts) {
		assert.string(title, '通知标题');
		assert.arrayOfObject(users, '接受人');
		assert.arrayOfObject(replyOpts, '回复选项');

		this.title = title;
		this.users = users;
		this.replyOpts = replyOpts;
	}
}

export default InformType;